using System.Collections;
using UnityEngine;

public class UprankVideoScene_Cutscene : MonoBehaviour
{
	public Animator UprankAnimator;

	public INT_Chat CutsceneChatter;

	private void Start()
	{
		((MonoBehaviour)this).StartCoroutine(ChatRunDelay());
	}

	private void Update()
	{
		if (CutsceneChatter.FinishedText)
		{
			Object.Destroy((Object)(object)((Component)this).gameObject);
		}
	}

	private IEnumerator ChatRunDelay()
	{
		yield return (object)new WaitForSeconds(9.5f);
		CutsceneChatter.RUN();
	}

	public void UprankAnim_Idle()
	{
		UprankAnimator.Play("Uprank_Idle");
	}

	public void UprankAnim_Shrug()
	{
		UprankAnimator.Play("Uprank_Shrug");
	}

	public void UprankAnim_HandsTogether()
	{
		UprankAnimator.Play("Uprank_HandsTogether");
	}
}
